import numpy as np
x=np.arange(0,100,10,dtype=np.floating)
a1=np.sin(x)
print('a1=',a1)
b=np.array(([1,2,3],[4,5,6],[7,8,9]))
a2=np.cos(b)
print('a2=',a2)
a3=np.round(a2)
print('a3=',a3)

x=np.random.rand(10)*10
print('x=',x)
a4=np.floor(x)
print('a4=',a4)
a5=np.ceil(x)
print('a5=',a5)
a6=np.angle(1+1j,deg=True)
print('a6=',a6)
a7=np.angle(1+1j)
print('a7=',a7)
a8=np.angle([1,1j,1+1j],deg=True)
print('a8=',a8)

x=np.linspace(0,3.14,10)
print('x=',x)
y=np.cos(x)
print('y=',y)
a9=np.arccos(y)
print('a9=',a9)

a10=np.absolute(-3)
print('a10=',a10)
a11=np.absolute(3+4j)
print('a11=',a11)
a12=np.ceil(3.2)
print('a12=',a12)
a13=np.ceil(np.array([1,2,3.1]))
print('a13=',a13)
a14=np.isnan(np.NAN)
print('a14=',a14)
a15=np.log2(8)
print('a15=',a15)
a16=np.log10(100)
print('a16=',a16)
a17=np.log10([100,1000,10000])
print('a17=',a17)
a18=np.multiply(3,9)
print('a18=',a18)
a19=np.multiply([1,2,3],[4,5,6])
print('a19=',a19)
a20=np.multiply(3,[5,6])
print('a20=',a20)
a21=np.multiply(3,np.array([5,6]))
print('a21=',a21)
a22=np.sqrt([9,16,36])
print('a22=',a22)
a23=np.sqrt(range(10))
print('a23=',a23)